<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="zh-cn">
    <head>
        <title>登陆管理中心</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" ></meta>
        <link type="text/css" rel="stylesheet" href="<?php echo Yii::app()->baseUrl; ?>/public/admin/boxes.css" media="all"/>
        <style type="text/css">
            body {
                min-width:800px;
                background:#E6E6E6;
                color:#2f2f2f;
                font:12px/1.5em Arial, Helvetica, sans-serif;
            }
            body.html-body-popup    { min-width:300px !important; }

            a                       { color:#ea7601; text-decoration:underline; }
            a:hover                 { color:#ea7601; text-decoration:underline; }
            a img                   { border:0;}

            /* Heading */
            h1, h2, h3, h4          { margin-bottom:.5em; line-height:1.4em; }
            h2                      { font-size:1.7em; }
            h3                      { margin-bottom:.5em; color:#253033; font-size:1.25em; }
            h4                      { margin-bottom:.6em; color:#494848; font-size:1.05em; }
            h5                      { font-size:1.05em; }
            h6                      { font-size:1em; }
            h1 a, h1 a:hover, 
            h2 a, h2 a:hover, 
            h3 a, h3 a:hover,
            h4 a, h4 a:hover        { font-weight:normal; }

            /* Table */
            th                      { padding:0; text-align:left; vertical-align:top; }
            td                      { padding:0; vertical-align:top; }

            /* Paragraph */
            p, address              { margin-bottom:.5em; }
            address                 { font-style:normal; }
            cite                    { font-style:normal; font-size:10px; }
            q:before, 
            q:after                 { content:'';}

            /* Form */
            form                    { display:inline; }
            fieldset                { border:none; }
            legend                  { display:none; }
            label                   { color:#333; }
            input, select           { vertical-align:middle; }
            textarea                { overflow:auto; }

            /* Lists */
            dt                      { display:block; }

            /* Size */
            small                   { font-size:.9em; }
            big                     { font-size:1.25em; }

            /* Divider */
            hr                      { border:0; height:1px; overflow:hidden; background:#d3d3d3; }
            :focus                  { outline: 0; }
        </style>
    </head>
    <body id="page-login" onload="document.forms.loginForm.username.focus();">
        <div class="login-container">
            <div class="login-box">
                <?php $form = $this->beginWidget('CActiveForm', array('id' => 'login-form')); ?>
                <fieldset class="login-form">
                    <h2>管理中心登陆</h2>
                    <div id="messages"><font color="#FF0000"><?php echo $error;?></font></div>
                    <div class="input-box input-left"><?php echo $form->labelEx($model, 'admin_name'); ?><br/>
                     <?php echo $form->textField($model, 'admin_name', array('class' => 'input-text'));?></div>
                    <div class="input-box input-right"><?php echo $form->labelEx($model, 'admin_pass'); ?><br/>
                     <?php echo $form->passwordField($model, 'admin_pass', array('class' => 'input-text'));?></div>

                    <div class="clear"></div>
                    <div class="form-buttons" style="margin-right:8px;">
                        <a class="left" href="javascript:alert('请拷贝文件包内reset.php文件到网站跟目录,然后输入http://域名/reset.php进行重置用户名于密码!')">忘记密码?</a>
                        <input  type="submit" class="form-button" value="Login"/></div>
                </fieldset>
                <p class="legal"><a href="http://www.vodcms.com" target="_blank">www.vodcms.com</a>. Copyright &copy; 20011 .</p>
                <?php $this->endWidget(); ?>

                <div class="bottom"></div>
            </div>
        </div>
    </body>
</html>